package com.jiangnan.entity

data class ChatMessage(
    val role: String,
    val content: String
)

data class ChatRequest(
    val model: String,
    val stream: Boolean,  // 这里设置为 true 实现流式输出
    val max_tokens: Int,
    val temperature: Double,
    val top_p: Double,
    val top_k: Int,
    val frequency_penalty: Double,
    val n: Int,
    val messages: List<ChatMessage>
)


